namespace System
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <definedin>src\core\Ext-more.js</definedin>
	/// <definedin>src\core\Ext-more.js</definedin>
	[ScriptName("Number")]
	[IgnoreNamespace()]
	[Imported()]
	public sealed partial class NumberExtensions
	{
		
		#region Snippets
		public static implicit operator System.Number (NumberExtensions thisObject)
		{
				throw new System.Exception ("Imported - Not Implemented");
		}
		
		public static implicit operator NumberExtensions (System.Number otherObject)
		{
				throw new System.Exception ("Imported - Not Implemented");
		}
		#endregion
		
		#region Constructors
		private NumberExtensions()
		{
		}
		#endregion
		
		#region Methods
		/// <summary>
		/// Checks whether or not the current number is within a desired range. If the number is already within the
		/// range it is returned, otherwise the min or max value is returned depending on which side of the range is
		/// exceeded. Note that this method returns the constrained value but does not change the current number.
		/// </summary>
		/// <definedin>src\core\Ext-more.js</definedin>
		/// <param name="min">The minimum number in the range</param>
		/// <param name="max">The maximum number in the range</param>
		/// <returns>The constrained value if outside the range, otherwise the current value</returns>
		[ScriptName("constrain")]
		public System.Number Constrain(System.Number min, System.Number max)
		{
			throw new System.Exception("Imported - not implemented");
		}
		#endregion
	}
}
